package idv.arthur.ArrayList;

import java.util.ArrayList;

public class ArrayListCopy {
	
	public static void main(String[] args) {
		ArrayList<String> a = new ArrayList<String>();
		a.add("a1");
		a.add("a2");
		a.add("a3");
		
		ArrayList<String> b = new ArrayList<String>(a);
		
		b.add("b1");
		
		System.out.println(b.size()+","+a.size() );
		
		
	}
	
}
